package com.tiger.poker.enums;

import lombok.Getter;

/**
 * @author Rick on 2/12/19 5:00 PM
 */
@Getter
public enum PokerEnum {

    /**
     * Leopard poker enum.
     */
    LEOPARD(1,"豹子"),
    FLUSH_STRAIGHT(2,"同花顺"),
    FLUSH(3,"同花"),
    STRAIGHT(4,"顺子"),
    PAIRS(5, "对子"),
    NOTHING(6,"散牌"),
            ;

    private Integer code;

    private String name;

    PokerEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
